<?php 
$cateModel=new \Common\Model\Cate;
$arcData=$cateModel->where('pid=0')->orderBy('csort','asc')->get();
//p($arcData);
 ?>
<header>
	<div class="logo f_l"> 
  		<a href="/"><img src="./Public/Home/images/logo.png" style="display: block;width: 180px;height:50px;border-radius:calc(0%);"></a>
  	</div>
  <nav id="topnav" class="f_r" style="border-radius:0px;background:plum;padding: 0px;">
    <ul>
    	<a href="index.html">首页</a>
    	<?php foreach ($arcData as $v){?>
    	   <a href="listC_<?php echo $v['cid']?>.html"><?php echo $v['cname']?></a>
    	<?php }?>
    </ul>
    <script src="js/nav.js"></script> 
  </nav>
</header>